Tokens for For Each Value

The For Each Value activity produces the following token, which is available to activities contained within this activity. The For Each Value activity runs one time per value. Each time it runs, the token value reflects the information relevant to the value it is currently processing.

Name Description Sample Syntax*
Current Value The current value of the token specified in the For Each Value activity. %(ForEachValue_Current Value)
Iteration The number of times the For Each Value activity has run. %(ForEachValue_Iteration)

*The "ForEachValue" portion of the syntax changes to match the activity's name as specified in the Activity Name property box. Note that all non-alphanumeric characters, except underscores, are removed from the name. For example, if you rename the activity Process [for Each], the syntax for the Current Value token will be %(ProcessforEach_Current Value).